package com.ocom.payhandle.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ocom.common.entity.card.EntityXfDeviceInfo;
import com.ocom.payhandle.vo.DeviceInfoVo;

//消费机器
public interface DeviceInfoService extends IService<EntityXfDeviceInfo> {

    public EntityXfDeviceInfo GetDeviceInfo(Long comId, String machNo);

    public void updateAppVer(Long comId, String machNo, String versionCode);

    public Boolean updateJobId(Long comId, String machNo, String jobId);

    public void UpdateCommTime(Long comId, String machNo);

    DeviceInfoVo selectPointId(Long companyID, String machno);

    EntityXfDeviceInfo selectDeviceInfolist(Long companyId, String machNo);

    void updateXFDeviceInfo(Long companyId,Integer addList,Integer addListTad,
                            Integer listDelete,Integer listDeleteTab,Integer  listState,String deviceNo);

    public void updateXFDeviceInfo2(Long companyId, Integer listState, String deviceNo);

    EntityXfDeviceInfo getParaJobid(Long companyId, String machNo);

    Boolean updateRsa(Long companyId, String machNo, String jobId);

    Boolean deviceFaceNum(Long companyId, String machNo,Integer faceNum);


    Boolean updateMenu(Long companyId, String machNo,
                       Integer menuState,
                       Integer menuAdd,
                       Integer menuAddTab,
                       Integer menuDelete
                       );

    Boolean updateMenu(Long companyId, String machNo, Integer menuAddTab);

}